<template>
  <div id="app">
    <button @click="btnClick">按钮</button>
  </div>
</template>

<script>
import { sysLogin } from '@/api/test'
export default {
  name: 'App',
  created() {
    alert(process.env.VUE_APP_TEST)
  },
  methods: {
    async btnClick() {
      const res = await sysLogin()
      console.log(res)
    }
  }
}
</script>
